{strip}
<script type="text/javascript">
var prevButton = "{$HOST}{$Config.MainImageFolder}prev.png";
var nextButton = "{$HOST}{$Config.MainImageFolder}next.png";
var logoIms = new Array();

{foreach from=$Images item="curr" key="key"}
logoIms['{$key}'] = "{$HOST}{$Config.MainImageFolder}{$Config.SiteGalleryImageFolder}{$Config.SiteLogoImageFolder}{$curr.filename}{$Config.imFileType}";
{/foreach}

{explode delim=$Config.imSizeDelimiter str=$Config.SiteGalleryLogoImageSize assign='SS'}
{explode delim=$Config.imSizeDelimiter str=$Config.SiteGalleryImageSize assign='BS'}
$(document).ready(function () {ldelim}
 gal.define(4,logoIms,beforeIms,afterIms,'gallery_','{$SS[0]}','{$SS[1]}','{$BS[0]}','{$BS[1]}',prevButton,nextButton);
{rdelim});

</script>
{/strip}

<center>
<div class="gallery_logo">
<table class="gallery_logos">
<tr>
<td id="gallery_prev"></td>
<td id="gallery_images"></td>
<td id="gallery_next"></td>
</tr>
</table>
</div>

</center>